import { defineConfig } from 'windicss/helpers'
import plugin from 'windicss/plugin'

export default defineConfig({
  prefixer: false,
  attributify: false,
  compile: false,
  globalPreflight: false,
  preflights: false,
  prefix: 'hb-',
  extract: {
    // include: ['src/*/*.{vue,scss,ts,js,html}'],
    exclude: ['node_modules', '.git', 'dist']
  },
  shortcuts: {
  },
  theme: {
    extend: {
      colors: {
        primary: '#2878FF'
      },

    }
  },
  plugins: [
    plugin(({ addUtilities }) => {
      const newUtilities = {
        '.box-shadow-base': {
          boxShadow: '0px 2px 12px 0px rgba(150, 151, 153, 0.16)',
        },
      }
      addUtilities(newUtilities)
    }),
  ]
})